package net.hn.hnms.biz.energy.vo;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel("用电管理1")
public class ElectricitySettlementVo1 extends BaseVO {
    /**
     * 创建人ID
     */
    @ApiModelProperty(value = "创建人ID",hidden=true)
    private String createUserId;


    @ApiModelProperty(value = "创建人名称，根据前端页面字段修改")
    private String username;



    @ApiModelProperty(value = "id")
    private String electricitySettleId;

    @ApiModelProperty(value = "负荷地点ID")
    private String electricityPlaceId;

    @ApiModelProperty(value = "负荷名称")
    private String electricityPlaceName;



    @ApiModelProperty(value = "单价")
    private BigDecimal electricityUnitPrice;

    @ApiModelProperty(value = "倍率")
    private BigDecimal magnification;

    @ApiModelProperty(value = "差数")
    private BigDecimal difference;

    @ApiModelProperty(value = "上月抄见")
    private BigDecimal lastMeterValue;

    @ApiModelProperty(value = "本月抄见")
    private BigDecimal meterValue;

    @ApiModelProperty(value = "表走电度(KWh)")
    private BigDecimal meterElectricConsumption;

    @ApiModelProperty(value = "摊销系数")
    private BigDecimal amortizationFactor;

    @ApiModelProperty(value = "结算电度")
    private BigDecimal settleElectricConsumption;

    @ApiModelProperty(value = "结算金额")
    private BigDecimal settleElectricAmount;

    @ApiModelProperty(value = "日期")
    @JsonFormat(
            pattern = "yyyy-MM-dd",
            timezone = "GMT+8"
    )
    private Date settleDate;

    @ApiModelProperty(value = "备注")
    private String remark;



    /**
     * 煤矿编码
     */
    @TableField(value = "mine_code", fill = FieldFill.INSERT)
    @ApiModelProperty(value = "煤矿编码",hidden=true)
    private String mineCode;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间",hidden=true)
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;
    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间",hidden=true)
    private Date updateTime;
    /**
     * 更新人ID
     */
    @TableField(value = "update_user_id", fill = FieldFill.INSERT_UPDATE)
    private String updateUserId;
    /**
     * 删除标记,0正常,1删除
     */
    @ApiModelProperty(value = "删除标记,0正常,1删除",hidden=true)
    private String delFlag;

}
